package com.hrma.services;

import com.github.pagehelper.Page;
import com.hrma.entity.*;

import java.util.List;

public interface LeaveRecordService {
    /**
     * 增加请假审核记录
     */
    LeaveRecordVO add(LeaveRecordVO data);

    /**
     *查找请假审核记录
     */
    List<SelectResult> select();

    /**
     * 得到所有请假审核记录
     */
    Page<LeaveRecordVO> getList(LeaveRecordDTO data);

    /**
     * 得到个人请假审核记录
     */
    Page<LeaveRecordVO> getPersonalList(LeaveRecordDTO data);
}
